package com.jvm;

import org.springframework.security.core.parameters.P;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;

public class TestGC {
    public static void main(String[] args) throws InterruptedException {

        List<Map<String,String>> mapList = new ArrayList<>();

        while (true) {

            mapList.add(new HashMap<>());
            TimeUnit.SECONDS.sleep(1);

        }


    }

}
